<template>
  <div id="app">
    <!-- exclude="Detail" 表示这个组件不做缓存,这个标签的意思就是路由加载过一次之后,我就把路由中的内容放在内存中 -->
    <keep-alive exclude="Detail"> <router-view /> </keep-alive>
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
